/* 通用样式 */
* {
 tap-highlight-color:transparent;
 -webkit-tap-highlight-color:transparent;
 -ms-tap-highlight-color:transparent;
 -webkit-box-sizing:border-box;
 box-sizing:border-box;
 padding:0;
 margin:0;
 border:0
}
body, div, ul, li, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, form, input, textarea, th, td, select {
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust:100%
}
html, body {
  height: 100%;
  background: var(--bodyBackground);
}
a, div, header, span {
  -webkit-tap-highlight-color:rgba(255,255,255,0);
  outline: none;
}
body, button, input, keygen, legend, select, textarea {
  font-family: Microsoft YaHei,Arial,Helvetica,sans-serif;
  color: #333;
  outline: none;
  box-shadow: none;
}
button {
  cursor: pointer;
}
table{
  border-collapse: collapse;
  border-spacing: 0;
}
em, i {
  /* color: #333; */
  font-style: normal;
}
img {
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  /* pointer-events: none; */
}
li, ol, ul {
 list-style:none
}
a {
  color: #333;
  text-decoration: none;
}
input[type="button"] {
  cursor: pointer;
}
input[type=button],
input[type=submit],
input[type=file],
input[type=number],
input[type=text]
button {
  cursor: pointer;
  -webkit-appearance: none;
}
textarea {
  resize: none;
  overflow: auto;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: #999;
}
input:-moz-placeholder, textarea:-moz-placeholder {
  color: #999;
}
input::-moz-placeholder, textarea::-moz-placeholder {
  color: #999;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  color: #999;
}
input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset !important;
}
.white-bg {
  background: #fff;
}
.white-bg {
  background: #fff;
}
.w750 {
  max-width: 750px;
  margin:0 auto;
  width: 100%;
  height: 100%;
	min-height: 100%;
  min-height: 100%;
  min-width: 320px;
  /* position: relative; */
}
.clearfix {
  *zoom: 1;
}
.clearfix:after {
  content: " ";
  display: table;
  clear: both;
}
.mt10 {
  margin-top: 10px;
}
.mb10 {
  margin-bottom: 10px;
}
.price {
  display: inline-block;
  font-family: arial;
}
.old-price {
  margin-left: 3px;
  color: #999;
  text-decoration: line-through;
  font-size: 12px;
}
/* end 通用样式 */

/* 头部 */
header {
  width: 100%;
  max-width: 750px;
  position: fixed;
  z-index: 100;
  background: transparent;
  border: 0;
  top: 0;
}
.unable{
  color: #e4e4e4 !important;
  border: 1px solid #ccc !important;
}

header + div {
  margin-top: 44px;
}
header .header-box {
  height: 44px;
  background: #ffffff;
  position: relative;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}
header .header-box.opacity{
  background: transparent;
  margin-top: 0;
}
header .header-box .header-back {
  height: 30px;
  margin: 7px 0 7px 10px;
  border-radius: 30px;
}
header .header-box .header-back .back-img {
  display: block;
  font-size: 0;
  min-width: 20px;
  text-align: left;
  cursor: pointer;
}
header .header-box .header-back .back-img img {
  width: 20px;
  height: 20px;
  vertical-align: top;
  margin-top: 5px;
}
header .header-box .header-back .arrow-left {
	border: solid;
	border-width: 0 1px 1px 0;
	display: inline-block;
	padding: 6px;
	transform: rotate( 135deg );
	position: absolute;
	top: 15px;
	left: 15px;
	-webkit-transform: rotate(135deg);
}
header .header-box .header-search {
  position: relative;
  height: 30px;
  -webkit-flex: 1;
  -ms-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  flex: 1;
  margin: 7px 10px;
}
header .header-box .header-search .ser-txt {
  text-align: center;
  font-size: 16px;
  line-height: 30px;
}
header .header-box .header-search .ser-input {
  width: 100%;
  height: 30px;
  border-radius: 50px;
  border: 0;
  padding: 0 32px;
  line-height: 30px;
  vertical-align: top;
  background: #f8f8f8;
  font-size: 14px;
  color:#333333;
}
header .header-box .header-search .ser-i {
  position: absolute;
  left: 10px;
  top: 7px;
  display: block;
  width: 16px;
  height: 16px;
  background: url(../images/mes-search.png) no-repeat;
  background-size: 16px 16px;
}
header .header-box .header-mes {
  margin: 7px 10px 7px 0;
  height: 30px;
  line-height: 28px;
  min-width: 20px;
  text-align: right;
}
header .header-box .header-mes .mes-img {
  display: block;
  font-size: 0;
  min-width: 20px;
  cursor: pointer;
}
header .header-box .header-mes .mes-img img {
  width: 20px;
  height: 20px;
  vertical-align: top;
  margin-top: 5px;
}
header .header-box .header-mes .mes-txt {
  font-size: 14px;
  color: #666;
  cursor: pointer;
}
/* end 头部 */

/* 头部下拉菜单 */
.head-select {
  position: fixed;
  top: 51px;
  right: 10px;
  z-index: 110;
  border-radius: 4px;
  width: 125px;
  background: rgba(0,0,0,0.85);
  /* display: none; */
}
.head-select:before {
  position: absolute;
  top: -12px;
  right: 7px;
  width: 0;
  height: 0;
  content: "";
  border: 6px solid transparent;
  border-bottom: 6px solid rgba(0,0,0,0.85);
}
.head-select .sel-p {
  display: block;
  position: relative;
  margin-left: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  height: 40px;
  line-height: 40px;
  z-index: 100;
  margin-right: 10px;
}
.head-select .sel-p:last-child {
  border: 0;
}
.head-select .sel-p .item-img {
  position: absolute;
  top: 0;
  left: -40px;
  width: 40px;
  height: 40px;
  font-size: 0;
  text-align: center;
}
.head-select .sel-p .item-img img {
  width: 15px;
  vertical-align: top;
  margin-top: 13px;
}
.head-select .sel-p .item-txt {
  display: block;
  border: 0;
  width: 100%;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
	text-align: left;
}
/* end 头部下拉菜单 */

/* 导航 */
.m-tabs {
  height: 44px;
  line-height: 44px;
  box-sizing: border-box;
  background: #fff;
  text-align: center;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 1px solid var(--borderColor);
}
.m-tabs .item {
  display: block;
  -webkit-flex: 1;
  -ms-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  flex: 1;
  cursor: pointer;
}
.m-tabs .item .txt {
  display: inline-block;
  padding: 0 10px;
  font-size: 14px;
  line-height: 42px;
  position: relative;
  white-space: nowrap;
}
.m-tabs .item.on .txt {
  color: #4eae31;
}
.m-tabs .item.line-on .txt {
  color: #4eae31;
  line-height: 38px;
  border-bottom: 2px solid #4eae31;
}

.m-tabs .item.arrow .txt {
  padding: 0 19px 0 6px;
}
.m-tabs .item.arrow .txt::after {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  right: 6px;
  top: 20px;
  border: 4px solid transparent;
  border-top: 4px solid #333;
  border-radius: 3px;
}
/* 默认箭头 */

.m-tabs .item.arrow-down .txt {
  padding: 0 19px 0 6px;
  color: #4eae31;
}
.m-tabs .item.arrow-down .txt::after {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  right: 6px;
  top: 20px;
  border: 4px solid transparent;
  border-top: 4px solid #4eae31;
  border-radius: 3px;
}
/* 箭头向下 */

.m-tabs .item.arrow-up .txt {
  padding: 0 19px 0 6px;
  color: #4eae31;
}
.m-tabs .item.arrow-up .txt::after {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  right: 6px;
  top: 16px;
  border: 4px solid transparent;
  border-bottom: 4px solid #4eae31;
  border-radius: 3px;
}
/* 箭头向上 */

/* end 导航 */

/* 结尾button */
.b-btn {
  padding: 5px 10px;
  width: 100%;
}
.b-btn span {
  display: block;
  margin: 15px auto;
  width: 100%;
  height: 48px;
  line-height: 48px;
  font-size: 15px;
  text-align: center;
  border-radius: 3px;
}
.b-btn span.disabled {
  color: #fff;
  background-color: #c8c9cc;
  border-color: #c8c9cc;
  cursor: not-allowed;
  opacity: 0.5;
}
.b-btn a {
  display: block;
  margin: 15px auto;
  width: 100%;
  height: 48px;
  line-height: 48px;
  font-size: 15px;
  text-align: center;
  border-radius: 3px;
}
.btn-r {
  /* background: #4eae31; */
  color: #fff;
  /* border: 1px solid #4eae31; */
}
.btn-w {
  background: #fff;
  color: #666;
  border: 1px solid #ededed;
}
/* end 结尾button */

/* 横条图标加文字样式 */
.entry-con {
  padding: 0 10px;
  line-height: 24px;
  background: #fff;
  cursor: pointer;
}
.entry-con .con-box {
  padding: 10px 0;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 1px solid #f8f8f8;
}
.entry-con .con-box .fl {
  display: block;
  -webkit-flex: 1;
  -ms-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  flex: 1;
}
.entry-con .con-box .entry-icon {
  display: inline-block;
  vertical-align: top;
  width: 18px;
  height: 18px;
  font-size: 0;
  margin-right: 5px;
  margin-top: 3px;
}
.entry-con .con-box .entry-icon img {
  width: 100%;
  height: 100%;
}
.entry-con .con-box .entry-name {
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
}
.entry-con .con-box .spacer {
  overflow: hidden;
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 10px;
  background-color: #ccc;
  vertical-align: middle;
}
.entry-con .con-box .fr {
  display: block;
}
.entry-con .con-box .entry-txt {
  display: inline-block;
  vertical-align: top;
  color: #999;
  font-size: 12px;
  font-family: arial;
}
.entry-con .con-box .arr {
  display: inline-block;
  vertical-align: top;
  width: 14px;
  height: 14px;
  margin-top: 5px;
}
.entry-con .con-box .arr img {
  width: 100%;
  height: 100%;
  vertical-align: top;
}
.entry-con:last-of-type .con-box {
  border-bottom: 0;
}
/* end 横条图标加文字样式 */

/* footer */
footer {
  background: #fff;
  height: 50px;
  position: fixed;
  bottom: 0;
  max-width: 750px;
  width: 100%;
  z-index: 90;
  box-shadow: 0 -1px 3px rgba(0,0,0,0.05);
  /* background: url(http://192.168.0.13:8081/photoserver/photo/2019/11/29/8eb479c8-3176-4c8f-b590-2e6c9f517b53.jpg); */
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
footer .footer-box {
  padding: 5px 0 4px;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
}
footer .footer-box .box-item {
  -webkit-flex: 1;
  -ms-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  flex: 1;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  flex-flow: column;
}
footer .footer-box .box-item .icon {
  display: block;
  height: 25px;
  width: 25px;
  margin: auto;
}
/* footer .footer-box .ind .icon {
  background: url(../images/index-g.png) no-repeat;
  background-size: 25px 25px;
}
footer .footer-box .cat .icon {
  background: url(../images/classify-g.png) no-repeat;
  background-size: 25px 25px;
}
footer .footer-box .fin .icon {
  background: url(../images/find-g.png) no-repeat;
  background-size: 25px 25px;
}
footer .footer-box .car .icon {
  background: url(../images/cart-g.png) no-repeat;
  background-size: 25px 25px;
}
footer .footer-box .my .icon {
  background: url(../images/center-g.png) no-repeat;
  background-size: 25px 25px;
} */
footer .footer-box .box-item .sub {
  position: absolute;
  text-align: center;
  font-size: 10px;
  color: #fff;
  background-color: #4eae31;
  font-family: arial;
  box-sizing: border-box;
  width: auto;
  min-width: 14px;
  padding: 0 4px;
  height: 14px;
  border-radius: 14px;
  top: -1px;
  left: 50%;
  margin-left: 5px;
}
footer .footer-box .box-item .sub:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 100%;
  margin-top: 1px;
}
footer .footer-box .box-item .txt {
  display: block;
  height: 15px;
  line-height: 15px;
  font-size: 11px;
  margin-top: 1px;
}
/* end footer */

/* 商品列表样式 */
.pro-list {
  padding: 2.3%;
  padding-bottom: 0;
  width: 100%;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  background: none;
}
.pro-list .pro-box {
  margin-bottom: 2.5%;
  position: relative;
  -webkit-flex-basis: 48.5%;
  flex-basis: 48.5%;
  background: #fff;
  border-radius: 5px !important;
}
.pro-list .pro-box:nth-child(odd) {
  margin-right: 1.15%;
}
.pro-list .pro-box:nth-child(even) {
  margin-left: 1.15%;
}
.pro-list .pro-box .pro-info {
  display: block;
  background: #fff;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}
.pro-list .pro-box .pro-img {
  display: block;
  text-align: center;
  background: #fff;
  position: relative;
  font-size: 0;
  border-radius: 5px;
}
.pro-list .pro-box .pro-img img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 5px 5px 0 0 !important;
}
.pro-list .pro-box .pro-img:before {
  content: " ";
  padding-top: 100%;
  display: inline-block;
  vertical-align: top;
}
.pro-list .pro-box .pro-name {
  margin: 10px 10px 0;
  font-size: 13px;
  line-height: 18px;
  height: 36px;
  background: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  font-family: -apple-system,Helvetica,sans-serif;
}
.pro-list .pro-box .pro-price {
  display: block;
  margin: 8px 10px 0;
  background: #fff;
  line-height: 16px;
  padding-bottom: 10px;
  font-size: 12px;
  color: #4eae31;
}
.pro-list .pro-box .pro-price .price {
  height: 16px;
  overflow: hidden;
}
.pro-list .pro-box .pro-price .now {
  font-size: 16px;
  color: #4eae31;
}
.pro-list .pro-box .pro-price .dis {
  padding: 0 3px 0 2px;
  color: #fff;
  font-size: 10px;
  vertical-align: top;
  display: inline-block;
  height: 14px;
  line-height: 13px;
  margin-top: 1px;
  max-width: 70px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pro-list .pro-box .pro-com {
  padding: 0 10px 8px;
  background: #fff;
  line-height: 20px;
  margin-top: -8px;
}
.pro-list .pro-box .pro-com .type-tag {
  margin-top: 2px;
}
.pro-list .pro-box .pro-com .com-item {
  margin-right: 8px;
  color: #999;
  font-size: 12px;
  display: inline-block;
  vertical-align: top;
}
/* end 商品列表样式 */

/* 猜你喜欢 */
.guess {
  margin-bottom: -2px;
}
.guess .entry-con .con-box {
  border: 0;
}
/* end 猜你喜欢 */

.alert--warning {
  background-color: #fdf6ec;
  color: #e6a23c;
}

.text-ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* 回到首页 */
.go-home {
  position: fixed;
  right: 10px;
  width: 35px;
  bottom: 70px;
  height: 35px;
  background: rgba(0,0,0,0.3);
  border-radius: 50px;
  font-size: 0;
  cursor: pointer;
  line-height: 35px;
  text-align: center;
  z-index: 99;
}